﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TomatoClock.Services;

namespace TomatoClock.Models
{
    public class User
    {
        public int UserId { get; set; }
        public string UserName { get; set; }
        public string Password { get; set; }
        public int Age { get; set; }
        public bool Sex { get; set; }
        public String Occupation { get; set; }
        public String Signature { get; set; }
        public List<PomodoroTask> Tasks { get; set; }
        public Data data {  get; set; }
        
        public int rank;

        public User()
        {
            Tasks = new List<PomodoroTask>();
            data= new Data();
        }
        public User(String username,String password)
        {
            Tasks = new List<PomodoroTask>();
            data = new Data();
            UserName = username;
            Password = password;
        }
    }
}
